import { Column, Entity, ObjectID, ObjectIdColumn } from "typeorm";

@Entity()
export class Role_menus {
  @ObjectIdColumn()
  id: ObjectID;

  @Column()
  rolename: string;

  @Column()
  role: number;

  @Column()
  menus: Array<Object>;
}